package com.szrt.java.day20170113.ch01;

public class Teacher {
	
	
	private String name;
	
	private double salary;
	
	
	

	public Teacher() {
		super();
	}

	public Teacher(String name, double salary) {
		super();
		this.name = name;
		this.salary = salary;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getSalary() {
		return salary;
	}

	public void setSalary(double salary) {
		this.salary = salary;
	}
	
	
	public void sang(){
		System.out.println("18摸....");
	}
	

}
